package com.neusoft.ecommerce.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author 紫煦桉
 */
public class Indent extends AbstractToString {

    private Integer indentNo;
    //外键
    
    private UserMessage userMessage;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date creatTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date payTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closingTime;
    private String consigneeAddress;
    private String consigneePhone;
    //外键
    
    private PayWay payWay;
    private String remark;
    //外键
    
    private LogisticsStatus logisticsStatus;
    private String indentStatus;
	public Indent() {
		super();
	}
	
	public Indent(Integer indentNo) {
		super();
		this.indentNo = indentNo;
	}

	public Indent(Integer indentNo, UserMessage userMessage, Date creatTime, Date payTime, Date deliveryTime,
			Date closingTime, String consigneeAddress, String consigneePhone, PayWay payWay, String remark,
			LogisticsStatus logisticsStatus, String indentStatus) {
		super();
		this.indentNo = indentNo;
		this.userMessage = userMessage;
		this.creatTime = creatTime;
		this.payTime = payTime;
		this.deliveryTime = deliveryTime;
		this.closingTime = closingTime;
		this.consigneeAddress = consigneeAddress;
		this.consigneePhone = consigneePhone;
		this.payWay = payWay;
		this.remark = remark;
		this.logisticsStatus = logisticsStatus;
		this.indentStatus = indentStatus;
	}
	/**
	 * @return the indentNo
	 */
	public Integer getIndentNo() {
		return indentNo;
	}
	/**
	 * @param indentNo the indentNo to set
	 */
	public void setIndentNo(Integer indentNo) {
		this.indentNo = indentNo;
	}
	/**
	 * @return the userMessage
	 */
	public UserMessage getUserMessage() {
		return userMessage;
	}
	/**
	 * @param userMessage the userMessage to set
	 */
	public void setUserMessage(UserMessage userMessage) {
		this.userMessage = userMessage;
	}
	/**
	 * @return the creatTime
	 */
	public Date getCreatTime() {
		return creatTime;
	}
	/**
	 * @param creatTime the creatTime to set
	 */
	public void setCreatTime(Date creatTime) {
		this.creatTime = creatTime;
	}
	/**
	 * @return the payTime
	 */
	public Date getPayTime() {
		return payTime;
	}
	/**
	 * @param payTime the payTime to set
	 */
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	/**
	 * @return the deliveryTime
	 */
	public Date getDeliveryTime() {
		return deliveryTime;
	}
	/**
	 * @param deliveryTime the deliveryTime to set
	 */
	public void setDeliveryTime(Date deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	/**
	 * @return the closingTime
	 */
	public Date getClosingTime() {
		return closingTime;
	}
	/**
	 * @param closingTime the closingTime to set
	 */
	public void setClosingTime(Date closingTime) {
		this.closingTime = closingTime;
	}
	/**
	 * @return the consigneeAddress
	 */
	public String getConsigneeAddress() {
		return consigneeAddress;
	}
	/**
	 * @param consigneeAddress the consigneeAddress to set
	 */
	public void setConsigneeAddress(String consigneeAddress) {
		this.consigneeAddress = consigneeAddress;
	}
	/**
	 * @return the consigneePhone
	 */
	public String getConsigneePhone() {
		return consigneePhone;
	}
	/**
	 * @param consigneePhone the consigneePhone to set
	 */
	public void setConsigneePhone(String consigneePhone) {
		this.consigneePhone = consigneePhone;
	}
	/**
	 * @return the payWay
	 */
	public PayWay getPayWay() {
		return payWay;
	}
	/**
	 * @param payWay the payWay to set
	 */
	public void setPayWay(PayWay payWay) {
		this.payWay = payWay;
	}
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * @return the logisticsStatus
	 */
	public LogisticsStatus getLogisticsStatus() {
		return logisticsStatus;
	}
	/**
	 * @param logisticsStatus the logisticsStatus to set
	 */
	public void setLogisticsStatus(LogisticsStatus logisticsStatus) {
		this.logisticsStatus = logisticsStatus;
	}
	/**
	 * @return the indentStatus
	 */
	public String getIndentStatus() {
		return indentStatus;
	}
	/**
	 * @param indentStatus the indentStatus to set
	 */
	public void setIndentStatus(String indentStatus) {
		this.indentStatus = indentStatus;
	}
	
    
}
